package com.mmd.admin.model.pojo.request;

import com.mmd.base.annotation.valid.group.ValidGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("举报类型添加编辑")
public class ReportAddOrEditParam {
    @ApiModelProperty("id")
    private Long id=0L;

    @ApiModelProperty("名称")
    @NotBlank(message = "名称不能为空",groups = {ValidGroup.Insert.class,ValidGroup.Update.class})
    private String name;
}
